package com.winsomely.leecode;

/**
 * 判断子序列
 * 
 * @author liujiawei
 *
 */
public class IsSubsequence {

	public boolean isSubsequence(String s, String t) {
		if(s.length() == 0){
			return true;
		}
		if(s.length() > 0 && t.length() == 0){
			return false;
		}
		
		return true;
    }

	public static void main(String[] args) {
		IsSubsequence t = new IsSubsequence();
		System.out.println(t.isSubsequence("zzzz", "zzzzz"));
	}

}
